PressForward\Core\API\ReadabilityEndpoint S

Total Complexity 15
Dependencies 6
Dependents 1
Total lines 230
Lines of code 111
Logical lines of code 29
Comment lines 100
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
register_routes()
S
44 1 57
is_valid_url()
S
66 3 7
make_html_readable()
S
65 3 8
is_valid_html()
S
67 2 7
__construct()
S
69 1 7
action_hooks()
S
65 1 10
activate()
S
77 1 4
is_sane_html()
S
82 1 3
is_sane_url()
S
79 1 3
get_readable_from_url()
S
73 1 5